﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('新增角色')" />
	<th:block th:include="include :: ztree-css" />
<title>无标题页</title>
<link rel="stylesheet" type="text/css" href="../css/index.css">
</head>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">

</div>
<div class="mian_b">
<table width="100%" border="1" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
<tr>
<td width="5%" class="mian_b_bg_lm">&nbsp;

</td>
<td colspan="3" class="mian_b_bg_lm">
任务分配
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top">项目名称</td>
<td><input th:value="${order.project.pname}" style="border-style:none"/>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top">订单编号</td>
<td><input th:value="${order.onum}" style="border-style:none"/>
 </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top">订单类别</td>
<td>
	<input th:value="${order.ocategory}" style="border-style:none"/>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td colspan="2">客户信息 </td>
<td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td colspan="3">
<table width="100%" border="1" style="border-top:1px solid #fff; border-bottom:1px solid #fff;" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
<tr>
<td align="center">客户编号</td><td align="center">客户名称</td><td align="center">客户类型</td><td align="center">联系人</td><td align="center">联系方式</td>
</tr>
<tr>
<td align="center"><input th:value="${order.customer.cnum}" style="border-style:none"/></td>
<td align="center"><input th:value="${order.customer.cname}" style="border-style:none"/></td>
<td align="center"><input th:value="${order.customer.ccategory}" style="border-style:none"/></td>
<td align="center"><input th:value="${order.customer.customer}" style="border-style:none"/></td>
<td align="center"><input th:value="${order.customer.cphone}" style="border-style:none"/></td>
</tr>
</table>
</td>
</tr>
 
<tr>
<td>&nbsp;</td>
<td valign="top" colspan="2">项目概况</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td colspan="3">
<table width="100%" border="1" style="border-top:1px solid #fff; border-bottom:1px solid #fff;" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
<tr>
<td align="center">设计风格</td><td align="center">地理位置</td><td align="center">人文环境</td><td align="center">采光条件</td>
</tr>
<tr>
<td align="center">欧美</td>
<td align="center">小区</td>
<td align="center">艺术</td>
<td align="center">良好</td>
</tr>
</table>
</td>
</tr>
 
<tr>
<td>&nbsp;</td>
<td valign="top" colspan="2">项目任务 </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;  </td>
<td valign="bottom" colspan="3">
<br>

		<form method="post" action="/cms/project/add" id="form-product-add">
			<input th:value="${order.project.staute}" name="project.staute" style="border-style:none" type="hidden"/>
			<input th:value="${order.project.pid}" name="project.pid" style="border-style:none" type="hidden"/>

			<table width="100%" border="" cellspacing="" cellpadding="" th:each="ppname,ppin: ${process}">
			<tr>
			<td width="10%"  ><input th:value="${ppname.ppname}" style="border-style:none"/></td>
			<td >
				<table width="100%" border="" cellspacing="" cellpadding="">
					<tr>
				<td>流程内容</td>
				<td width="10%"></td>
				<td width="30%">时间段</td>
				<td>注意事项</td>
					</tr>
					<tr th:each="pppname:${ppname.processBs}">
				<td><input th:value="${pppname.pppname}" th:name="'processes['+${pppname.pppid}+'].gname'" style="border-style:none"/></td>
				<td width="10%"><input type="text" th:name="'processes['+${pppname.pppid}+'].gperson'" >请选择</td>
				<td width="30%">
					<input  type="date" th:name="'processes['+${pppname.pppid}+'].gstarttime'"/>-
					<input  type="date" th:name="'processes['+${pppname.pppid}+'].gendtime'"/>
				</td>
				<td><input th:name="'processes['+${pppname.pppid}+'].gdesc'" type="text"/></td>
						<input type="hidden" th:value="${order.oid}" th:name="'processes['+${pppname.pppid}+'].oid'"/>
						<input type="hidden" th:value="${ppname.ppid}" th:name="'processes['+${pppname.pppid}+'].ppid'"/>
					</tr>
	
			</table>
			</table>
			

</td>
</tr>
<tr>
<td>&nbsp;

</td>
<td>&nbsp;

</td>
<td>
<div align="center"><input type="submit" value="提交" /></div>
	</form>
</td>
<td>&nbsp;

</td>
</tr>
</table>
</div>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: ztree-js" />
<script type="text/javascript">
	var prefix = ctx + "cms/project";
	$("#form-product-add").validate({
		focusCleanup: true
	});

	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/add", $('#form-product-add').serialize());
		}
	}
</script>
</body>
</html>
<script src="/common.js"></script>